﻿using Abp;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
using WebApiClient.DataAnnotations;

namespace ARchGL.Platform.Mpp
{
    public class AjaxResponseMpp<TResult>
    {
        public AjaxResponseMpp()
        {
        }

        /// <summary>
        /// 接口执行结果代码，返回“200”时表示执行成功
        /// </summary>
        [AliasAs("success")]
        [JsonProperty("success")]
        public bool Success { get; set; }
      
        /// <summary>
        /// 返回数据
        /// </summary>
        [AliasAs("item")]
        [JsonProperty("item")]
        public TResult Item { get; set; }
    }
}
